package com.javaweb.config.hutool;

import cn.hutool.captcha.generator.CodeGenerator;

public class HutoolCaptchaGenerator implements CodeGenerator {
	
	private static final long serialVersionUID = 1754200049458305960L;
	
	private String code;
	
	public HutoolCaptchaGenerator(String code) {
		this.code = code;
	}

	@Override
	public String generate() {
		return this.code;
	}

	@Override
	public boolean verify(String code, String userInputCode) {
		return false;
	}
	
}
